package com.youfang.sixthmedia.message.center;

import org.json.JSONArray;
import org.json.JSONObject;

import com.youfang.sixthmedia.message.GethousesResponse;

public class GetMyCollectResponse extends GethousesResponse {
	
	protected void decodeBody(JSONObject bodyJSON) throws Exception {

		JSONArray arr = bodyJSON.getJSONArray("data");
		for (int i = 0; i < arr.length(); i++) {
			JSONObject o = arr.getJSONObject(i);

			this.buildings.add(processItem(o));

		}

	}

}
